﻿Public Class KhachHang_DTO
    Private _TenKH As String
    Private _DiaChi As String
    Private _DienThoai As String
    Private _Email As String
    Private _CMND As Long
    Private _TienNo As Double
    Private _MaTinhTrang As Integer

    Public Property MaTT() As Integer
        Get
            Return _MaTinhTrang
        End Get
        Set(ByVal value As Integer)
            _MaTinhTrang = value
        End Set
    End Property

    Public Property TenKH() As String
        Get
            Return _TenKH
        End Get
        Set(ByVal value As String)
            _TenKH = value
        End Set
    End Property

    Public Property DiaChi() As String
        Get
            Return _DiaChi
        End Get
        Set(ByVal value As String)
            _DiaChi = value
        End Set
    End Property

    Public Property DienThoai() As String
        Get
            Return _DienThoai
        End Get
        Set(ByVal value As String)
            _DienThoai = value
        End Set
    End Property

    Public Property Email() As String
        Get
            Return _Email
        End Get
        Set(ByVal value As String)
            _Email = value
        End Set
    End Property

    Public Property TienNo() As Double
        Get
            Return _TienNo
        End Get
        Set(ByVal value As Double)
            _TienNo = value
        End Set
    End Property

    Public Property CMND() As Long
        Get
            Return _CMND
        End Get
        Set(ByVal value As Long)
            _CMND = value
        End Set
    End Property

    Public Property MaTinhTrang() As Integer
        Get
            Return _MaTinhTrang
        End Get
        Set(ByVal value As Integer)
            _MaTinhTrang = value
        End Set
    End Property

    Public Sub New(ByVal ten As String, ByVal dc As String, ByVal dt As String, ByVal mail As String, ByVal cm As Long, ByVal tn As Double, ByVal mtt As Integer)
        TenKH = ten
        DiaChi = dc
        DienThoai = dt
        Email = mail
        CMND = cm
        TienNo = tn
        MaTT = mtt
    End Sub

End Class
